package com.example.study1206.Entity;

import java.util.List;
import java.util.Map;

public class Result {
    private List<Map<String, String>> content;
    private int pageNum;
    //    private int totalPage;
    private int pageSize;

    public Result(List<Map<String, String>> content, int pageNum, int pageSize) {
        this.content = content;
        this.pageNum = pageNum;
//        this.totalPage = totalPage;
        this.pageSize = pageSize;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public void setContent(List<Map<String, String>> content) {
        this.content = content;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

//    public void setTotalPage(int totalPage) {
//        this.totalPage = totalPage;
//    }

    public int getPageNum() {
        return pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

//    public int getTotalPage() {
//        return totalPage;
//    }

    public List<Map<String, String>> getContent() {
        return content;
    }
}
